<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<style>
  a{
    text-decoration: none;

  }

  a:visited{
    color: white;
  }
  /* 样式表 */
  .nav {
    background-color: #333;
    overflow: hidden;
  }

  .nav > a {
    float: left;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }

  .nav  a:hover {
    background-color: #ddd;
    color: black;
  }

  .nav  a.active {
    background-color: #4CAF50;
    color: white;
  }

  .user-info{
    float: right;
    color: white;
    padding: 14px 16px;
  }
</style>
<div class="nav">
  <a href="javascript:void(0)" class="active">首页</a>
  <a href="account" >账户管理</a>
  <a href="files">文件列表</a>
  <a href="online">在线用户</a>
  <div class="user-info">
    欢迎登录, ${user.name}
    <a href="logout">注销</a>
  </div>
</div>
